let apiUrl = '';
let hncWebUrl = '';
let masterUrl = '';
let assemblyUrl = '';
let hncWebAdminUrl = "";
let ncCheckUrl = '';
let ncCheckUrlShipment = '';

switch (process.env.NODE_ENV) {
  case "development":
    // 本地服务器域名
    apiUrl = "https://apitest.hzncc.cn/cloudManagerApi";
    hncWebUrl = "https://apitest.hzncc.cn/HncWeb";
    masterUrl = "https://maste.hzncc.cn";
    // assemblyUrl = 'http://10.10.33.8:8065/assembly';
    assemblyUrl = 'https://apitest.hzncc.cn/assembly';
    hncWebAdminUrl = 'https://apitest.hzncc.cn/HncWebAdmin';
    // ncCheckUrl = 'http://192.168.53.103:8050/CheckWeb';
    // ncCheckUrl = 'http://10.1.20.95:8050/CheckWeb';
    ncCheckUrl = 'http://10.1.24.161:8150/CheckWeb';
    ncCheckUrlShipment = 'http://10.1.24.161:8150/CheckWeb';
    break;
  case "production_test":
    // 测试服务器域名
    apiUrl = "https://apitest.hzncc.cn/cloudManagerApi";
    hncWebUrl = "https://apitest.hzncc.cn/HncWeb";
    masterUrl = "https://maste.hzncc.cn";
    assemblyUrl = 'https://apitest.hzncc.cn/assembly';
    hncWebAdminUrl = 'https://apitest.hzncc.cn/HncWebAdmin';
    // ncCheckUrl = 'http://10.1.20.95:8050/CheckWeb';
    ncCheckUrl = 'http://10.1.24.161:8150/CheckWeb';
    ncCheckUrlShipment = 'http://10.1.24.161:8150/CheckWeb';
    break;
  case "production":
    // 正式服务器域名
    apiUrl = "https://api.hzncc.cn/cloudManagerApi";
    hncWebUrl = "https://api.hzncc.cn/HncWeb";
    masterUrl = "https://maste.hzncc.cn";
    assemblyUrl = 'https://apit.hzncc.cn/assembly';
    hncWebAdminUrl = 'https://apitest.hzncc.cn/HncWebAdmin';
    ncCheckUrl = 'http://10.1.20.95:8050/CheckWeb';
    ncCheckUrlShipment = 'http://10.10.33.41:8050/CheckWeb';
    break;
}

export { apiUrl, hncWebUrl, masterUrl, assemblyUrl, hncWebAdminUrl, ncCheckUrl, ncCheckUrlShipment };
